package com.ktjy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ktjy.mapper.OrdersLineMapper;
import com.ktjy.pojo.OrdersLine;
import com.ktjy.service.IOrdersLineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jjx
 * @since 2025-01-16
 */
@Service
public class OrdersLineServiceImpl extends ServiceImpl<OrdersLineMapper, OrdersLine> implements IOrdersLineService {
    @Autowired
    private OrdersLineMapper ordersLineMapper;

    @Override
    public List<OrdersLine> getOrdersLineByOrderId(Long orderId) {
        return ordersLineMapper.getOrderLineByOrderId(orderId);
    }
}
